[INFO] cloning repository https://github.com/bokutotu/flex-rs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bokutotu/flex-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbokutotu%2Fflex-rs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbokutotu%2Fflex-rs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 370f184f004f4400697a1486a9fa449aa4076e21
[INFO] checking bokutotu/flex-rs against master#e6e4f7ed1589e03bc2f6c5931c1a72e7947e8682 for beta-170-4
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbokutotu%2Fflex-rs" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/bokutotu/flex-rs on toolchain e6e4f7ed1589e03bc2f6c5931c1a72e7947e8682
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e6e4f7ed1589e03bc2f6c5931c1a72e7947e8682" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/bokutotu/flex-rs
[INFO] finished tweaking git repo https://github.com/bokutotu/flex-rs
[INFO] tweaked toml for git repo https://github.com/bokutotu/flex-rs written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/bokutotu/flex-rs already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e6e4f7ed1589e03bc2f6c5931c1a72e7947e8682" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+e6e4f7ed1589e03bc2f6c5931c1a72e7947e8682" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 35ccd739574655da512d455d174440a743e18cc63eaa8586a8881262a9599829
[INFO] running `Command { std: "docker" "start" "-a" "35ccd739574655da512d455d174440a743e18cc63eaa8586a8881262a9599829", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "35ccd739574655da512d455d174440a743e18cc63eaa8586a8881262a9599829", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "35ccd739574655da512d455d174440a743e18cc63eaa8586a8881262a9599829", kill_on_drop: false }`
[INFO] [stdout] 35ccd739574655da512d455d174440a743e18cc63eaa8586a8881262a9599829
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+e6e4f7ed1589e03bc2f6c5931c1a72e7947e8682" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 727178a03470dfa483ee7e79836926a83e0ac65cf3202db0ed11f76cbceb9cb3
[INFO] running `Command { std: "docker" "start" "-a" "727178a03470dfa483ee7e79836926a83e0ac65cf3202db0ed11f76cbceb9cb3", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.43
[INFO] [stderr]    Compiling version_check v0.9.4
[INFO] [stderr]    Compiling quote v1.0.21
[INFO] [stderr]    Compiling unicode-ident v1.0.3
[INFO] [stderr]    Compiling syn v1.0.99
[INFO] [stderr]    Compiling libc v0.2.131
[INFO] [stderr]    Compiling autocfg v1.1.0
[INFO] [stderr]    Compiling serde v1.0.143
[INFO] [stderr]     Checking os_str_bytes v6.2.0
[INFO] [stderr]    Compiling heck v0.4.0
[INFO] [stderr]     Checking hashbrown v0.12.3
[INFO] [stderr]     Checking strsim v0.10.0
[INFO] [stderr]     Checking termcolor v1.1.3
[INFO] [stderr]     Checking bitflags v1.3.2
[INFO] [stderr]     Checking once_cell v1.13.0
[INFO] [stderr]     Checking textwrap v0.15.0
[INFO] [stderr]     Checking clap_lex v0.2.4
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling indexmap v1.9.1
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking toml v0.5.9
[INFO] [stderr]    Compiling clap_derive v3.2.15
[INFO] [stderr]     Checking clap v3.2.16
[INFO] [stderr]     Checking flex v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: associated function `new_epsilon` is never used
[INFO] [stdout]   --> src/nfa.rs:41:19
[INFO] [stdout]    |
[INFO] [stdout] 32 | impl NfaEdge {
[INFO] [stdout]    | ------------ associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 41 |     pub(crate) fn new_epsilon() -> Self {
[INFO] [stdout]    |                   ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new_terminal` and `add_edge_nul_target_node` are never used
[INFO] [stdout]   --> src/nfa.rs:68:8
[INFO] [stdout]    |
[INFO] [stdout] 64 | impl<T> NfaNode<T>
[INFO] [stdout]    | ------------------ associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 68 |     fn new_terminal(t: T) -> Self {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 86 |     pub(crate) fn add_edge_nul_target_node(&mut self, edge: NfaEdge) {
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `back` is never used
[INFO] [stdout]    --> src/regex_tokenizer.rs:254:8
[INFO] [stdout]     |
[INFO] [stdout] 244 | impl RegexTokenIter {
[INFO] [stdout]     | ------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 254 |     fn back(&mut self) {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `flex::regex_parser`
[INFO] [stdout]  --> tests/regex_parser.rs:4:9
[INFO] [stdout]   |
[INFO] [stdout] 4 |     use flex::regex_parser;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `add_edge_nul_target_node` is never used
[INFO] [stdout]   --> src/nfa.rs:86:19
[INFO] [stdout]    |
[INFO] [stdout] 64 | impl<T> NfaNode<T>
[INFO] [stdout]    | ------------------ method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 86 |     pub(crate) fn add_edge_nul_target_node(&mut self, edge: NfaEdge) {
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `flex::automaton`
[INFO] [stdout]  --> tests/automaton.rs:2:11
[INFO] [stdout]   |
[INFO] [stdout] 2 | use flex::automaton::*;
[INFO] [stdout]   |           ^^^^^^^^^ could not find `automaton` in `flex`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `Terminal` in this scope
[INFO] [stdout]  --> tests/automaton.rs:9:6
[INFO] [stdout]   |
[INFO] [stdout] 9 | impl Terminal for TestTerminal {}
[INFO] [stdout]   |      ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `NfaState` in this scope
[INFO] [stdout]   --> tests/automaton.rs:11:18
[INFO] [stdout]    |
[INFO] [stdout] 11 | type TestState = NfaState<TestTerminal, Item>;
[INFO] [stdout]    |                  ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0603]: enum `Item` is private
[INFO] [stdout]   --> tests/automaton.rs:4:25
[INFO] [stdout]    |
[INFO] [stdout] 4  | use flex::regex_parser::Item;
[INFO] [stdout]    |                         ^^^^ private enum
[INFO] [stdout]    |
[INFO] [stdout] note: the enum `Item` is defined here
[INFO] [stdout]   --> /opt/rustwide/workdir/src/regex_parser.rs:17:30
[INFO] [stdout]    |
[INFO] [stdout] 17 | use crate::regex_tokenizer::{Item, RegexTokenIter};
[INFO] [stdout]    |                              ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NFA`
[INFO] [stdout]   --> tests/automaton.rs:15:19
[INFO] [stdout]    |
[INFO] [stdout] 15 |     let mut ans = NFA::default();
[INFO] [stdout]    |                   ^^^ use of undeclared type `NFA`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NFA`
[INFO] [stdout]   --> tests/automaton.rs:21:15
[INFO] [stdout]    |
[INFO] [stdout] 21 |     let res = NFA::from_content(Item::Char('a'));
[INFO] [stdout]    |               ^^^ use of undeclared type `NFA`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NFA`
[INFO] [stdout]   --> tests/automaton.rs:27:19
[INFO] [stdout]    |
[INFO] [stdout] 27 |     let mut ans = NFA::default();
[INFO] [stdout]    |                   ^^^ use of undeclared type `NFA`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NFA`
[INFO] [stdout]   --> tests/automaton.rs:31:19
[INFO] [stdout]    |
[INFO] [stdout] 31 |     let mut res = NFA::default();
[INFO] [stdout]    |                   ^^^ use of undeclared type `NFA`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NFA`
[INFO] [stdout]   --> tests/automaton.rs:41:19
[INFO] [stdout]    |
[INFO] [stdout] 41 |     let mut res = NFA::default();
[INFO] [stdout]    |                   ^^^ use of undeclared type `NFA`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NFA`
[INFO] [stdout]   --> tests/automaton.rs:49:19
[INFO] [stdout]    |
[INFO] [stdout] 49 |     let mut ans = NFA::default();
[INFO] [stdout]    |                   ^^^ use of undeclared type `NFA`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NFA`
[INFO] [stdout]   --> tests/automaton.rs:56:19
[INFO] [stdout]    |
[INFO] [stdout] 56 |     let mut res = NFA::default();
[INFO] [stdout]    |                   ^^^ use of undeclared type `NFA`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NFA`
[INFO] [stdout]   --> tests/automaton.rs:64:19
[INFO] [stdout]    |
[INFO] [stdout] 64 |     let mut ans = NFA::default();
[INFO] [stdout]    |                   ^^^ use of undeclared type `NFA`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NFA`
[INFO] [stdout]   --> tests/automaton.rs:71:19
[INFO] [stdout]    |
[INFO] [stdout] 71 |     let mut res = NFA::default();
[INFO] [stdout]    |                   ^^^ use of undeclared type `NFA`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NFA`
[INFO] [stdout]   --> tests/automaton.rs:79:19
[INFO] [stdout]    |
[INFO] [stdout] 79 |     let mut ans = NFA::default();
[INFO] [stdout]    |                   ^^^ use of undeclared type `NFA`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NFA`
[INFO] [stdout]   --> tests/automaton.rs:86:19
[INFO] [stdout]    |
[INFO] [stdout] 86 |     let mut res = NFA::default();
[INFO] [stdout]    |                   ^^^ use of undeclared type `NFA`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NFA`
[INFO] [stdout]   --> tests/automaton.rs:94:19
[INFO] [stdout]    |
[INFO] [stdout] 94 |     let mut ans = NFA::default();
[INFO] [stdout]    |                   ^^^ use of undeclared type `NFA`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NFA`
[INFO] [stdout]    --> tests/automaton.rs:101:19
[INFO] [stdout]     |
[INFO] [stdout] 101 |     let mut res = NFA::default();
[INFO] [stdout]     |                   ^^^ use of undeclared type `NFA`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NFA`
[INFO] [stdout]    --> tests/automaton.rs:109:19
[INFO] [stdout]     |
[INFO] [stdout] 109 |     let mut ans = NFA::default();
[INFO] [stdout]     |                   ^^^ use of undeclared type `NFA`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 18 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0432, E0433, E0603.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0405`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `flex` (test "automaton") due to 19 previous errors
[INFO] running `Command { std: "docker" "inspect" "727178a03470dfa483ee7e79836926a83e0ac65cf3202db0ed11f76cbceb9cb3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "727178a03470dfa483ee7e79836926a83e0ac65cf3202db0ed11f76cbceb9cb3", kill_on_drop: false }`
[INFO] [stdout] 727178a03470dfa483ee7e79836926a83e0ac65cf3202db0ed11f76cbceb9cb3
